<template>
	<div>
		这里是首页
		<br />
		<router-link to="login">登录</router-link>|
		<router-link to="detail/5">详情</router-link>
	</div>
</template>

<script>
export default {
	name: "Index",
	created() {
		console.log(this.$router);
	}
};
</script>

<style>
</style>
